NXP Semiconductors /LPC11Cxx /C_CAN /CANIF1_MCTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CANIF1_MCTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0DLC3_00RESERVED 0 (NOT_END_OF_BUFFER)EOB 0 (NOT_WAITING)TXRQST 0 (TXRQST_UNCHANGED)RMTEN 0 (INTPND_UNCHANGED)RXIE 0 (INTPND_UNCHANGED)TXIE 0 (IGNORE)UMASK 0 (NOT_PENDING)INTPND 0 (NOT_LOST)MSGLST 0 (NO_NEW_DATA)NEWDAT 0RESERVED

TXIE=INTPND_UNCHANGED, RMTEN=TXRQST_UNCHANGED, UMASK=IGNORE, INTPND=NOT_PENDING, TXRQST=NOT_WAITING, MSGLST=NOT_LOST, RXIE=INTPND_UNCHANGED, EOB=NOT_END_OF_BUFFER, NEWDAT=NO_NEW_DATA

Description

Message interface 1 message control

Fields

DLC3_0

Data length code 3:0 The Data Length Code of a Message Object must be defined the same as in all the corresponding objects with the same identifier at other nodes. When the Message Handler stores a data frame, it will write the DLC to the value given by the received message. 0000 - 1000 = Data frame has 0 - 8 data bytes. 1001 - 1111 = Data frame has 8 data bytes.

RESERVED

Reserved

EOB

End of buffer

0 (NOT_END_OF_BUFFER): Not end of buffer. Message object belongs to a FIFO buffer and is not the last message object of that FIFO buffer.

1 (END_OF_BUFFER): End of buffer. Single message object or last message object of a FIFO buffer.

TXRQST

Transmit request

0 (NOT_WAITING): Not waiting. This message object is not waiting for transmission.

1 (WAITING): Waiting. The transmission of this message object is requested and is not yet done

RMTEN

Remote enable

0 (TXRQST_UNCHANGED): TXRQST unchanged. At the reception of a remote frame, TXRQST is left unchanged.

1 (TXRQST_SET): TXRQST set. At the reception of a remote frame, TXRQST is set.

RXIE

Receive interrupt enable

0 (INTPND_UNCHANGED): INTPND unchanged. INTPND will be left unchanged after successful reception of a frame.

1 (INTPND_SET): INTPND set. INTPND will be set after successful reception of a frame.

TXIE

Transmit interrupt enable

0 (INTPND_UNCHANGED): INTPND unchanged. The INTPND bit will be left unchanged after a successful transmission of a frame.

1 (INTPND_SET): INTPND set. INTPND will be set after a successful transmission of a frame.

UMASK

Use acceptance mask If UMASK is set to 1, the message object’s mask bits have to be programmed during initialization of the message object before MAGVAL is set to 1.

0 (IGNORE): Ignore. Mask ignored.

1 (USE): Use. Use mask (MSK[28:0], MXTD, and MDIR) for acceptance filtering.

INTPND

Interrupt pending

0 (NOT_PENDING): Not pending. This message object is not the source of an interrupt.

1 (PENDING): Pending. This message object is the source of an interrupt. The Interrupt Identifier in the Interrupt Register will point to this message object if there is no other interrupt source with higher priority.

MSGLST

Message lost (only valid for message objects in the direction receive).

0 (NOT_LOST): Not lost. No message lost since this bit was reset last by the CPU.

1 (LOST): Lost. The Message Handler stored a new message into this object when NEWDAT was still set, the CPU has lost a message.

NEWDAT

New data

0 (NO_NEW_DATA): No new data. No new data has been written into the data portion of this message object by the message handler since this flag was cleared last by the CPU.

1 (NEW_DATA): New data. The message handler or the CPU has written new data into the data portion of this message object.

RESERVED

Reserved

Links

()